package com.lucy.nepu.module.paper.event;

import com.lucy.nepu.module.paper.entity.Paper;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Getter
public class PaperDeletedEvent extends ApplicationEvent {
    Paper paper;
    public PaperDeletedEvent(Object source,Paper paper) {
        super(source);
        this.paper = paper;
    }

    public PaperDeletedEvent(Object source, Clock clock) {
        super(source, clock);
    }
}